package com.hjxr.xmgl.common;

import com.hjxr.framework.web.domain.AjaxResult;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.ArrayList;
import java.util.List;

@Api(tags = "测试帆软接口")
@RequestMapping("/JSONTest")
@RestController
public class FRController {

    @ApiOperation("测试数据")
    @GetMapping("/requestForFR")
    public AjaxResult testFR(){
        List<String> data = new ArrayList<>();
        data.add("200");
        data.add("300");
        data.add("400");
        data.add("500");
        return AjaxResult.success(data);
    }
}
